//
//  CSObjectUtils.swift
//  Cycling
//
//  Created by CSS on 4/1/23.
//

import Foundation

extension NSObject {
    
    class func defaultClassString() -> String {
        String(describing: self)
    }
    
    class func createUniqueString() -> String {
        let identifier = CFUUIDCreate(nil)
        let identifierString = CFUUIDCreateString(nil, identifier) as String
        return identifierString
    }
    
    func createUniqueString() -> String {
        type(of: self).createUniqueString()
    }
    
}
